package com.niiwoo.civet.mobile.vo.response.user;

import com.niiwoo.civet.mobile.vo.response.OrganizationInfoRespVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 * Created by zhangwanli on 2017/9/20.
 */
@Setter
@Getter
@ApiModel
public class LoginResponseNewVO {
    @ApiModelProperty("token")
    private String token;
    @ApiModelProperty(value = "上次登录时间")
    private Date lastLoginTime;
    @ApiModelProperty(value = "1-登录成功，2-绑定登录成功，3-注册并绑定登录成功")
    private Byte loginType;

    @ApiModelProperty(value = "登录手机号")
    private String loginMobileNo;

    @ApiModelProperty(value = "用户ID")
    private String userId;

    @ApiModelProperty("空或者0表示无需重置密码，1：第一次登入，2:管理员重置密码")
    private String needUpdatePassword;

    @ApiModelProperty("企业投资人信息")
    private OrganizationInfoRespVO organizationInfo;
}
